/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TEMP;

import javax.swing.JComboBox;

/**
 *
 * @author Administrator
 */
public class CellJComboBox extends JComboBox{

    public CellJComboBox() {
        this.addItem("男");
        this.addItem("女");
    }

    public static CellJComboBox getInstance() {
        return CellJComboBoxHolder.INSTANCE;
    }

    private static class CellJComboBoxHolder {
        private static final CellJComboBox INSTANCE = new CellJComboBox();
    }
 }
